Repository navigation
[release-branch.go1.26] eng: skip PR validation for docs-only changes - #2714
Open
Quim Muntal (qmuntal) wants to merge 2 commits into
Open
Quim Muntal (qmuntal) wants to merge 2 commits into
Quim Muntal (qmuntal) wants to merge 2 commits into
Conversation
Add a path filter to the PR pipelines that excludes the root Markdown files, docs, and eng/doc. When a PR only changes excluded paths, Azure Pipelines skips the build and posts a neutral status to GitHub, which GitHub accepts for the required microsoft-go check. This avoids running the full innerloop for docs-only PRs, such as the automated docs syncs into release branches. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Azure Pipelines: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The pipeline exclusion skips reproducibility validation for locally generated cryptography documentation without equivalent coverage in GitHub Actions.
1 open issue
What changed in this PR
Backports #2712 to the Go 1.26 release branch to skip Azure PR validation for documentation-only changes, including automated docs-sync PRs.
Changes:
- Adds matching path exclusions to the innerloop and outerloop PR pipelines.
- Preserves existing branch filters and validation for PRs that also change non-excluded files.
- Applies the filters directly because this branch lacks
pr.gen.yml.
| File | Description |
|---|---|
eng/pipeline/pr-pipeline.yml |
Excludes selected root Markdown files, docs/, and eng/doc/ from innerloop PR triggers. |
eng/pipeline/pr-outerloop-pipeline.yml |
Applies the same exclusions to outerloop PR triggers. |
Review effort: Balanced
Run eng/_util tests in GitHub Actions on Go 1.26 PRs. This keeps the crypto documentation reproducibility checks when Azure Pipelines skips docs-only changes, without running the full innerloop. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
George Adams (gdams)
approved these changes
Nov 11, 2026
Davis Goodin (dagood)
requested changes
Nov 11, 2026
Davis Goodin (dagood)
left a comment
Member
There was a problem hiding this comment.
Main PR not resolved.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Backport of #2712.
Skip the PR pipelines for PRs that only change documentation (the root Markdown files,
docs/, andeng/doc/), so automated docs-sync PRs into Go 1.26 no longer run the full innerloop. This branch has nopr.gen.yml, so the same path filters are applied to the hand-written innerloop and outerloop pipeline files.The Go 1.26 GitHub Actions test workflow also now runs
go test ./...ineng/_util. This preserves the generated crypto documentation reproducibility check when the Azure Pipelines build is skipped.Validation:
pr:sections match main.go test ./...ineng/_utilpasses, includingcmd/updatecryptodocs.